import { createRouter, createWebHistory } from 'vue-router'
import loginView from '../views/login/index.vue'
import codeView from '../views/login/code.vue'
import icfeaView from '../views/login/icfea.vue'
import myView from '../views/login/my.vue'
import resdView from '../views/login/resd.vue'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/login',
      component: loginView,children:[
            {
      path: 'code',
      component: codeView,
    },
        {
      path: 'icfea',
      component: icfeaView,
    },
        {
      path: 'my',
      component: myView,
    },
        {
      path: 'resd',
      component: resdView,
    },
      ]
    },
  ],
})

export default router
